/**
 * @format
 * @lint-ignore-every XPLATJSCOPYRIGHT1
 */

import { AppRegistry } from 'react-native'
import Root from './Root.js'
import { name as appName } from './app.json'

const SHOW_LOG = true

if (!SHOW_LOG) {
  global.console = {
    info: () => {},
    log: () => {},
    warn: () => {},
    debug: () => {},
    error: () => {}
  }
}

AppRegistry.registerComponent(appName, () => Root)
